Skip to content

ci(renovate): run Monday-only updates at any time on Monday - #32

Merged
iainlane merged 1 commit into
mainfrom
renovate-monday-schedule
Oct 15, 2026
Merged

iainlane merged 1 commit into
mainfrom
renovate-monday-schedule

Conversation

@iainlane

Copy link
Copy Markdown
Contributor

Renovate has not created a lock file maintenance pull request in any of the organisation's repositories since 24 August. cupboard, idm, shatter, abc and wrapscallion all last had one on that day. Their Dependency Dashboards, and procps-darwin's, list lock file maintenance under "Awaiting Schedule". This is the same problem as iainlane/rssfilter#2270.

Cause

:maintainLockFilesWeekly only allows lock file maintenance before 4am UTC on Monday (* 0-3 * * 1). The Renovate workflow is scheduled for 12 */4 * * *, but GitHub starts those runs hours late and often skips the overnight ones. Here is the earliest scheduled run on each Monday:

Monday Earliest run (UTC) Lock file maintenance (0-3) Renovate image (0-4)
24 Aug 01:55 inside inside
31 Aug 05:31 missed missed
7 Sep 04:37 missed inside
14 Sep 04:52 missed inside
21 Sep 04:52 missed inside
28 Sep 05:20 missed missed
5 Oct 05:35 missed missed
12 Oct 05:53 missed missed

Change

Both Monday-only schedules now cover all of Monday (* * * * 1). Recent Mondays have had two or three runs, at about 05:00–06:00 and again between 10:00 and 18:00, so a single dropped run no longer costs a week.

The Renovate image rule previously kept those updates out of weekday working hours. With this change, they can merge during Monday working hours.

Lock file maintenance is the only way Renovate updates transitive Cargo dependencies and Nix flake inputs, so these have been frozen in the Rust and Nix repositories since 24 August.

Verification

renovate-config-validator --strict (Renovate 44) accepts both schedules. It reports one migration, fileMatch to managerFilePatterns in customManagers, which is not part of this change. Prettier passes.

Renovate has not created a lock file maintenance pull request in any of
the organisation's repositories since 24 August. The Dependency
Dashboards list lock file maintenance under "Awaiting Schedule".

:maintainLockFilesWeekly only allows lock file maintenance before 4am
UTC on Monday. The Renovate workflow is scheduled every four hours from
00:12, but GitHub starts those runs hours late and often skips the
overnight ones. Since the end of August, the earliest run on each
Monday has started between 04:37 and 05:53, so none has fallen inside
the window. The rule for Renovate's own image has the same problem: its
window ends at 05:00 and missed four of the last seven Mondays.

Allow both updates at any time on Monday. Recent Mondays have had two
or three runs spread across the day, so each week now has more than
one chance to run them.

Lock file maintenance is the only way Renovate updates transitive Cargo
dependencies and Nix flake inputs. Both have been frozen in these
repositories since the last run.
@iainlane
iainlane added this pull request to the merge queue Oct 15, 2026
Merged via the queue into main with commit 433f628 Oct 15, 2026
5 checks passed
@iainlane
iainlane deleted the renovate-monday-schedule branch October 15, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant